package doudizhu;

import java.util.Comparator;

public class MyComparator implements Comparator {
    @Override
    public int compare(Object o1, Object o2) {
        return ((Card) o1).getValue() - ((Card) o2).getValue();
    }

}
